package com.ecoolex.chinadutyfree.retailer.core.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ecoolex.chinadutyfree.retailer.core.mapper.DirectMailGoodsOrderAfterSalesMapper;
import com.ecoolex.chinadutyfree.retailer.entity.DirectMailGoodsOrderAfterSales;
import com.ecoolex.chinadutyfree.retailer.pojo.QueryDirectMailGoodsOrderAfterSalesDTO;
import com.ecoolex.framework.common.pojo.Page;

public interface DirectMailGoodsOrderAfterSalesDAO extends DirectMailGoodsOrderAfterSalesMapper {
	
	long count(@Param("query") QueryDirectMailGoodsOrderAfterSalesDTO query);
	
	List<DirectMailGoodsOrderAfterSales> query(@Param("query") QueryDirectMailGoodsOrderAfterSalesDTO query,@Param("sorts") String sorts, @Param("page")Page page);
}